package com.bian.spring.framework.utils;

/**
 *
 * @author bian
 * 2021/01/22
 */
public class StringUtils {

    private StringUtils() {
    }

    // e.g. userDao ==> setUserDao
    public static String getSetterMethodByFieldName(String fieldName) {
        String methodName = "set" + fieldName.substring(0,1).toUpperCase() + fieldName.substring(1);
        return methodName;
    }
}
